Replace most `.__proto__` with `Object.getPrototypeOf()` (#27394) Co-authored-by: Philip Jägenstedt <philip@foolip.org>
diff --git a/xhr/responsexml-document-properties.htm b/xhr/responsexml-document-properties.htm index c27a448..cb2edb7 100644 --- a/xhr/responsexml-document-properties.htm +++ b/xhr/responsexml-document-properties.htm
@@ -39,7 +39,7 @@ function runTest(name, value){ test(function(){ if (name == "all") { - assert_equals(client.responseXML[name].__proto__, value.prototype) + assert_equals(Object.getPrototypeOf(client.responseXML[name]), value.prototype) } else { assert_equals(client.responseXML[name], value) }